Skip to content

Testing #8

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 562 commits into
base: main
Choose a base branch
from
Open

Testing #8

wants to merge 562 commits into from

Conversation

avb-is-me
Copy link

Description

[Describe what this change achieves]

Related Issues

Resolves #[Issue number to be closed when this PR is merged]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

reta and others added 30 commits May 6, 2025 13:45
…shold for approximated match_all queries (#18189)

Signed-off-by: Prudhvi Godithi <[email protected]>
…in /plugins/repository-hdfs (#18103)

* Bump org.apache.commons:commons-configuration2

Bumps org.apache.commons:commons-configuration2 from 2.11.0 to 2.12.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-configuration2
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ository-azure (#18104)

* Bump com.nimbusds:nimbus-jose-jwt in /plugins/repository-azure

Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 10.0.2 to 10.2.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/10.2..10.0.2)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-version: '10.2'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Fix thirdPartyAudit

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig Perkins <[email protected]>
…ixtures/hdfs-fixture (#18102)

* Bump org.apache.commons:commons-text in /test/fixtures/hdfs-fixture

Bumps org.apache.commons:commons-text from 1.13.0 to 1.13.1.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-text
  dependency-version: 1.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig Perkins <[email protected]>
* Make extended plugins optional

Signed-off-by: Craig Perkins <[email protected]>

* Make extended plugins optional

Signed-off-by: Craig Perkins <[email protected]>

* Load extensions for classpath plugins

Signed-off-by: Craig Perkins <[email protected]>

* Ensure only single instance for each classpath extension

Signed-off-by: Craig Perkins <[email protected]>

* Add test for classpath plugin extended plugin loading

Signed-off-by: Craig Perkins <[email protected]>

* Enable testing for ExtensiblePlugins using classpath plugins

Signed-off-by: Craig Perkins <[email protected]>

* Add to CHANGELOG

Signed-off-by: Craig Perkins <[email protected]>

* Define PluginInfos from test files for classpath plugins

Signed-off-by: Craig Perkins <[email protected]>

* Add testing constructor for PluginsService

Signed-off-by: Craig Perkins <[email protected]>

* Single call to loadExtensions

Signed-off-by: Craig Perkins <[email protected]>

* Reduce number of MockNode constructors

Signed-off-by: Craig Perkins <[email protected]>

* Create 2 public constructors for MockNode

Signed-off-by: Craig Perkins <[email protected]>

* Update import

Signed-off-by: Craig Perkins <[email protected]>

* Address code review comments

Signed-off-by: Craig Perkins <[email protected]>

* Fix logic

Signed-off-by: Craig Perkins <[email protected]>

* Address PR feedback

Signed-off-by: Craig Perkins <[email protected]>

* Rename variables

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
…ous type of field mappers (#17759)

* Adding support for derive source feature and implementing it for some of the field types

Signed-off-by: Tanik Pansuriya <[email protected]>
Thread::getId() is deprecated since Java 19, hence replaced
Thread::getId() with Thread::threadId() in the repository as mentioned
in #18205

Signed-off-by: hsanirudh <[email protected]>
Following the [nomination process][1], I have nominated and other
maintainers have agreed to add Yupeng Fu (@yupeng9) as a co-maintainer
of the OpenSearch repository. Yupeng has kindly accepted the invitation.

[1]: https://github.com/opensearch-project/.github/blob/main/RESPONSIBILITIES.md#becoming-a-maintainer

Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Prudhvi Godithi <[email protected]>
…sitory-hdfs (#18266)

* Bump com.google.code.gson:gson in /plugins/repository-hdfs

Bumps [com.google.code.gson:gson](https://github.com/google/gson) from 2.13.0 to 2.13.1.
- [Release notes](https://github.com/google/gson/releases)
- [Changelog](https://github.com/google/gson/blob/main/CHANGELOG.md)
- [Commits](google/gson@gson-parent-2.13.0...gson-parent-2.13.1)

---
updated-dependencies:
- dependency-name: com.google.code.gson:gson
  dependency-version: 2.13.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…ns/repository-azure (#18265)

* Bump com.azure:azure-core-http-netty in /plugins/repository-azure

Bumps [com.azure:azure-core-http-netty](https://github.com/Azure/azure-sdk-for-java) from 1.15.7 to 1.15.11.
- [Release notes](https://github.com/Azure/azure-sdk-for-java/releases)
- [Commits](Azure/azure-sdk-for-java@azure-core-http-netty_1.15.7...azure-core-http-netty_1.15.11)

---
updated-dependencies:
- dependency-name: com.azure:azure-core-http-netty
  dependency-version: 1.15.11
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…in /test/fixtures/hdfs-fixture (#18262)

* Bump org.apache.commons:commons-configuration2

Bumps org.apache.commons:commons-configuration2 from 2.11.0 to 2.12.0.

---
updated-dependencies:
- dependency-name: org.apache.commons:commons-configuration2
  dependency-version: 2.12.0
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
* Bump lycheeverse/lychee-action from 2.4.0 to 2.4.1

Bumps [lycheeverse/lychee-action](https://github.com/lycheeverse/lychee-action) from 2.4.0 to 2.4.1.
- [Release notes](https://github.com/lycheeverse/lychee-action/releases)
- [Commits](lycheeverse/lychee-action@v2.4.0...v2.4.1)

---
updated-dependencies:
- dependency-name: lycheeverse/lychee-action
  dependency-version: 2.4.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#18201)

The Default aws client might create its own ScheduledExecutorService
which is closed via ExecutorService.shutdown() when the client is
closed. Calling shutdown might not ensure that all threads are gone
when ThreadLeakControl is ran.
Provide our own ScheduledExecutorService during this test so that it
runs thrown our tearDown method which calls ThreadPool#terminate waiting
for 5 seconds.

Signed-off-by: David Causse <[email protected]>
Signed-off-by: Gulshan <[email protected]>
Signed-off-by: Gulshan Kumar <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Add polling to test case that can briefly return non-zero PIT stats when
a PIT request is rejected.

Signed-off-by: Andrew Ross <[email protected]>
BeomSeogKim and others added 30 commits July 15, 2025 12:22
The `upgrade-cli` tool is deprecated and no longer needed.

- Removed: distribution/tools/upgrade-cli
- Cleaned up: settings.gradle, distribution/build.gradle
- Deleted: distribution/src/bin/opensearch-upgrade(.bat)

Signed-off-by: BeomSeogKim <[email protected]>
…sterPlugin is loaded (#18479)

These are the core changes to allow ClusterPlugins to manage cluster
state on behalf of an OpenSearch node. If a "clusterless" ClusterPlugin
is loaded, then the node will start up with dummy versions of Discovery
and ClusterManagerService, and will load the minimum cluster state
required for startup (essentially, the node needs to see itself). From
there, the ClusterPlugin can interact with ClusterApplierService to apply
some cluster state to the node. (The details of constructing/receiving
that cluster state is up to the plugin.) 

---------

Signed-off-by: Michael Froh <[email protected]>
…8746)

* Bump com.google.jimfs:jimfs from 1.3.0 to 1.3.1 in /qa/evil-tests

Bumps [com.google.jimfs:jimfs](https://github.com/google/jimfs) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/google/jimfs/releases)
- [Commits](google/jimfs@v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: com.google.jimfs:jimfs
  dependency-version: 1.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Fix build failure

Signed-off-by: Binlong Gao <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Binlong Gao <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Binlong Gao <[email protected]>
Co-authored-by: Craig Perkins <[email protected]>
Co-authored-by: cwperks <[email protected]>
* startree node,indices,shards stats

Signed-off-by: Sandesh Kumar <[email protected]>

* changing to builder pattern

Signed-off-by: Sandesh Kumar <[email protected]>

* add query current, fix version

Signed-off-by: Sandesh Kumar <[email protected]>

* fix version

Signed-off-by: Sandesh Kumar <[email protected]>

* add integ test

Signed-off-by: Sandesh Kumar <[email protected]>

* typo

Signed-off-by: Sandesh Kumar <[email protected]>

---------

Signed-off-by: Sandesh Kumar <[email protected]>
…ository-azure (#18759)

* Bump com.nimbusds:nimbus-jose-jwt in /plugins/repository-azure

Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 10.2 to 10.3.1.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/10.3.1..10.2)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-version: 10.3.1
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Fix build failure

Signed-off-by: Binlong Gao <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Binlong Gao <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Binlong Gao <[email protected]>
This class was recently changed to use
`SecureRandom.getInstanceStrong()` instead of `new SecureRandom()`. This
results in a blocking call on certain systems if the entropy is
exhausted. This commit reverts back to the previous implementation in
the non-FIPS case to avoid problems with blocking.

Signed-off-by: Andrew Ross <[email protected]>
* port over plugin extension, double check with knn tests

Signed-off-by: TJ Neuenfeldt <[email protected]>

* changelog, added tests, changed to contexualpb for context

Signed-off-by: TJ Neuenfeldt <[email protected]>

* spotless

Signed-off-by: TJ Neuenfeldt <[email protected]>

* renamed, made extension point a function

Signed-off-by: TJ Neuenfeldt <[email protected]>

* changelog, default ctors

Signed-off-by: TJ Neuenfeldt <[email protected]>

* added getter, changed to findProfileBreakdown

Signed-off-by: TJ Neuenfeldt <[email protected]>

* changelog and abstractpb

Signed-off-by: TJ Neuenfeldt <[email protected]>

* trigger

Signed-off-by: TJ Neuenfeldt <[email protected]>

* revert breaking change

Signed-off-by: TJ Neuenfeldt <[email protected]>

* trigger

Signed-off-by: TJ Neuenfeldt <[email protected]>

* trigger build

Signed-off-by: TJ Neuenfeldt <[email protected]>

* search module nit fix

Signed-off-by: TJ Neuenfeldt <[email protected]>

* spotless

Signed-off-by: TJ Neuenfeldt <[email protected]>

---------

Signed-off-by: TJ Neuenfeldt <[email protected]>
Signed-off-by: TJ Neuenfeldt <[email protected]>
…nt.service/memory.max in security.policy (#18771)

* Ignore frames after jdk.internal.platform.CgroupSubsystemController.getStringValue

Signed-off-by: Craig Perkins <[email protected]>

* Add missing permission in security.policy

Signed-off-by: Craig Perkins <[email protected]>

* Add current as well

Signed-off-by: Craig Perkins <[email protected]>

---------

Signed-off-by: Craig Perkins <[email protected]>
…evel setting (#18706)

* [fixes #16599] Field-level `ignore_malformed` should override index-level setting

Signed-off-by: Mikhail Stepura <[email protected]>

* CHANGELOG.md

Signed-off-by: Mikhail Stepura <[email protected]>

* Update CHANGELOG.md

Co-authored-by: Andrew Ross <[email protected]>
Signed-off-by: Mikhail Stepura <[email protected]>

* API level test

Signed-off-by: Mikhail Stepura <[email protected]>

* Ignore for the versions without the fix

Signed-off-by: Mikhail Stepura <[email protected]>

* Cleanup

Signed-off-by: Mikhail Stepura <[email protected]>

---------

Signed-off-by: Mikhail Stepura <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: Mikhail Stepura <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
…s/keystore-cli (#18748)

* Bump com.google.jimfs:jimfs in /distribution/tools/keystore-cli

Bumps [com.google.jimfs:jimfs](https://github.com/google/jimfs) from 1.3.0 to 1.3.1.
- [Release notes](https://github.com/google/jimfs/releases)
- [Commits](google/jimfs@v1.3.0...v1.3.1)

---
updated-dependencies:
- dependency-name: com.google.jimfs:jimfs
  dependency-version: 1.3.1
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Craig Perkins <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Craig Perkins <[email protected]>
Co-authored-by: cwperks <[email protected]>
…es/hdfs-fixture (#18749)

* Bump com.squareup.okhttp3:okhttp in /test/fixtures/hdfs-fixture

---
updated-dependencies:
- dependency-name: com.squareup.okhttp3:okhttp
  dependency-version: 5.1.0
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Signed-off-by: gaobinlong <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Andrew Ross <[email protected]>
Co-authored-by: gaobinlong <[email protected]>
…ository-azure (#18804)

* Bump com.nimbusds:nimbus-jose-jwt in /plugins/repository-azure

Bumps [com.nimbusds:nimbus-jose-jwt](https://bitbucket.org/connect2id/nimbus-jose-jwt) from 10.3.1 to 10.4.
- [Changelog](https://bitbucket.org/connect2id/nimbus-jose-jwt/src/master/CHANGELOG.txt)
- [Commits](https://bitbucket.org/connect2id/nimbus-jose-jwt/branches/compare/10.4..10.3.1)

---
updated-dependencies:
- dependency-name: com.nimbusds:nimbus-jose-jwt
  dependency-version: '10.4'
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <[email protected]>

* Updating SHAs

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
#18735)

---------

Signed-off-by: Hyunsang Han <[email protected]>
Signed-off-by: Andrew Ross <[email protected]>
Co-authored-by: Andrew Ross <[email protected]>
…nager to avoid unnecessary conversion (#18802)

* Use ScoreDoc instead of FieldDoc when creating TopScoreDocCollectorManager to avoid unnecessary conversion

Signed-off-by: Binlong Gao <[email protected]>

* Modify change log

Signed-off-by: Binlong Gao <[email protected]>

---------

Signed-off-by: Binlong Gao <[email protected]>
* Add 2.19.3 release notes

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add 2.19.3 release notes

Signed-off-by: Prudhvi Godithi <[email protected]>

* Add 2.19.3 release notes

Signed-off-by: Prudhvi Godithi <[email protected]>

---------

Signed-off-by: Prudhvi Godithi <[email protected]>
…ies (#18498)

---------

Signed-off-by: Peter Alfonsi <[email protected]>
Signed-off-by: Peter Alfonsi <[email protected]>
Co-authored-by: Peter Alfonsi <[email protected]>
…/fixtures/hdfs-fixture (#18803)

* Bump org.xerial.snappy:snappy-java in /test/fixtures/hdfs-fixture

Bumps [org.xerial.snappy:snappy-java](https://github.com/xerial/snappy-java) from 1.1.10.7 to 1.1.10.8.
- [Release notes](https://github.com/xerial/snappy-java/releases)
- [Commits](xerial/snappy-java@v1.1.10.7...v1.1.10.8)

---
updated-dependencies:
- dependency-name: org.xerial.snappy:snappy-java
  dependency-version: 1.1.10.8
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <[email protected]>

* Update changelog

Signed-off-by: dependabot[bot] <[email protected]>

---------

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
This is pretty subjective, but I think we can reduce the number of
badges shown at the top of the README. I've removed the links to the
docs and forum as those links are available below in the project
resources section. The issue count and PR count are visible at the top
of the page on the default GitHub UI. The various gradle check statuses
also didn't seem particularly useful in my opinion.

Signed-off-by: Andrew Ross <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.